package com.qf.agro;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @company：千峰教育
 * @author：zhy
 * @date：2023/2/15
 */
@SpringBootApplication
@MapperScan("com.qf.agro.mapper")
@EnableTransactionManagement
@Slf4j
public class AgroWebApplication {

    /**
     * 启动类
     * @param args
     */
    public static void main(String[] args) {
        //1.启动
        SpringApplication.run(AgroWebApplication.class,args);
        //2.输出
        log.info("项目启动成功");
    }
}
